﻿using Microsoft.WindowsAzure.StorageClient;

namespace SimplePoll.Web.DataAccess
{
    public class PollResultRow : TableServiceEntity
    {
        string name;

        public string Name
        {
            get { return name; }
            set
            {
                name = value;
                PartitionKey = "Test";
            }
        }

        public int TotalAnswers { get; set; }
        public int TotalQ1Answers { get; set; }
        public int TotalQ2Answers { get; set; }
        public int TotalQ3Answers { get; set; }
    }
}